/*root类选择器给所有的元素设置样式*/
#root {
    -fx-font-family: "Songti SC";
    -fx-font-size: 11px;
    -fx-background-size:  stretch;
    -fx-background-position: center;
    /*背景渐变色*/
    /*-fx-background-color: linear-gradient(to right,#00fffc,#fff600);*/
    /*-fx-background-color: linear-gradient(to right,#1F8FE8,#F2BAE8);*/
    /*-fx-effect: dropshadow(gaussian, lime, 1, 0.1, 10, 10);*/
}

.button:hover{
    -fx-cursor: hand;
}

#title{
    -fx-cursor: hand;
}

#min{
    -fx-cursor: hand;
    -fx-background-color: transparent;
    -fx-text-fill: #ffffff;
}

#min:hover{
    -fx-cursor: hand;
    /*边框阴影*/
    -fx-effect: dropshadow(three-pass-box, #4A5459, 10.0,0, 1, 3);
}

#min:pressed{
    -fx-effect: dropshadow(three-pass-box, #4A5459, 0,0, 0, 0);
}

#close{
    -fx-cursor: hand;
    -fx-background-color: transparent;
    -fx-text-fill: #ffffff;
}

#close:hover{
    -fx-cursor: hand;
    /*边框阴影*/
    -fx-effect: dropshadow(three-pass-box, #4A5459, 10.0,0, 1, 3);
}

#close:pressed{
    -fx-effect: dropshadow(three-pass-box, #4A5459, 0,0, 0, 0);
}


.progress-bar {
    -fx-indeterminate-bar-length: 60;
    -fx-indeterminate-bar-escape: true;
    -fx-indeterminate-bar-flip: true;
    -fx-indeterminate-bar-animation-time: 2;
}
/*进度条颜色*/
.progress-bar > .bar {
    -fx-background-color: #37C796;
    -fx-background-insets: 3 3 4 3;
    -fx-background-radius: 2;
    -fx-padding: 0.75em;
}
.progress-bar:indeterminate > .bar {
    -fx-background-color: linear-gradient(to left, transparent, -fx-accent);
}
/*背景*/
.progress-bar > .track {
    -fx-background-color:#292E48;
    /*-fx-background-insets: 0, 0 0 1 0, 1 1 2 1;*/
    /*-fx-background-radius: 4, 3, 2;*/
}
